home *** CD-ROM | disk | FTP | other *** search
- #
- # Configuration and installation setup for libMotifApp
- # (Doug Young's C++ class library for Motif Applications)
- #
- # INSTALLATION VARIABLES:
- # INSTALL_INCLUDES
- # where the include files should be installed
- # this entire subdirectory is owned by MotifApp,
- # it will be removed for each install
- #
- # INSTALL_LIB
- # where the library and main program .o should
- # be installed.
- #
- #
-
- # Skunkworks 2.0 CD ROM parameters
- #
-
- INSTALL_INCLUDES=/usr/skunk/include/MotifApp
- INSTALL_LIB=/usr/skunk/lib
- DEBUG=
- CC=CC
-
- #
- # Library Structure
- #
- # MAIN
- # name of the .o that contains main()
- #
- # LIBNAME
- # name of library
-
- MAIN=MotifAppMain.o
- LIBNAME=MotifApp
-
- #
- # BUILD VARIABLES
- #
-
- DEFINES=-DFUNCPROTO -DXTFUNCPROTO
- XLIBS=-lXtXm_s -lX11_s -lXext -lXmu -lsocket -lPW -lintl
- ARCHIVE=lib$(LIBNAME).a
- ILIST=-I../MotifApp -I$(INSTALL_INCLUDES)
- LIBS=$(INSTALL_LIB)/$(MAIN) -L../MotifApp -L$(INSTALL_LIB) -l$(LIBNAME) $(XLIBS)
- C++FLAGS=$(DEBUG) $(ILIST) $(DEFINES)
-
- .SUFFIXES: .o .C .c
-
- .C.o:
- $(CC) -c $(C++FLAGS) $*.C
-
-